import { getAction, deleteAction, putAction, postAction, httpAction, downFile, downFilePost } from '@/api/manage'
const serviceName = '/jeecg-fz'
//预警速报列表
// const warningList = (params)=>postAction(`${serviceName}/viewWarningDataDetail/list`,params);
//获取当日各类统计数
const getTodayStatistics = params => getAction(`${serviceName}/statistics/index/getTodayStatistics`, params)
//新增预警趋势
const getWarningTrend = params => getAction(`${serviceName}/statistics/index/getWarningTrend`, params)
//预警推送趋势
const getWarningPushTrend = params => getAction(`${serviceName}/statistics/index/getWarningPushTrend`, params)
//所属区域已劝阻概况数量统计
const getDissuadedStatistics = params => getAction(`${serviceName}/statistics/index/getDissuadedStatistics`, params)
//预警推送所属区域数量统计
const getWarningPushAreaStatistics = params =>
  getAction(`${serviceName}/statistics/index/getWarningPushAreaStatistics`, params)

export {
  getTodayStatistics,
  getWarningTrend,
  getWarningPushTrend,
  getDissuadedStatistics,
  getWarningPushAreaStatistics
}
